<template>
  <div class="personal-background">
    <el-container>
      <el-aside >
        <el-menu
          default-active="1"
          class="el-menu-demo"
          mode="vertical"
          background-color="#545c64"
          text-color="#fff"
          active-text-color="#ffd04b"
          router
          style="height:88vh">
          <el-menu-item :index="{name: 'MyProfile'}">我的资料</el-menu-item>
          <el-menu-item :index="{name: 'MyArticles'}">我的文章</el-menu-item>
          <el-menu-item :index="{name: 'Attentions'}">关注</el-menu-item>
        </el-menu>
      </el-aside>
      <el-main style="background: LightSteelBlue">
        <router-view>
        </router-view>
      </el-main>
    </el-container>
  </div>
</template>

<script>
export default {
  name: 'PersonalBackground'
}
</script>

<style scoped>

</style>
